package com.itheima.附加题.work1;

public class Manager extends Employee{
    Clerk c;
    public Manager() {
    }

    public Manager(String name, String workld, String dept) {
        super(name, workld, dept);
    }

    public Clerk getC() {
        return c;
    }

    public void setC(Clerk c) {
        this.c = c;
    }

    @Override
    public void showMsg() {
        super.showMsg();
        System.out.println("他的职员是"+c.getName());
    }
}
